package com.mf.entity.bo;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.ToString;

import java.io.Serial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * @author mf
 * @since 2024-09-01
 */
@Getter
@ToString
@Setter
@TableName("p_education_info")

public class EducationInfoBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开始日期
     */
    private LocalDate start;

    /**
     * 结束日期
     */
    private LocalDate end;

    /**
     * 学校名称
     */
    private String schoolName;

    /**
     * 主修专业
     */
    private String major;

    /**
     * 1:毕业;0:未毕业
     */
    private Integer flagGraduate;

    /**
     * 取得学历
     */
    private String educationName;

    /**
     * 花名册id
     */
    private Integer rosterId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0:使用；1：删除
     */
    @TableLogic
    private Integer isDelete;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}